package org.dromara.oce.domain.req;

import com.bytedance.ads.model.DpaProductStatusBatchUpdateV2OptStatus;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.oce.domain.base.OceBaseReq;

import java.util.List;

@Data
public class UpdateBatchProductStatusReq extends OceBaseReq {

    /**
     * 商品库ID
     */
    @NotNull(message = "请选择商品库")
    private Long platformId;

    /**
     * 商品ID列表
     */
    @NotEmpty(message = "请选择商品")
    private List<Long> productIds;

    /**
     * 操作：ENABLE-开启投放；DISABLE-停止投放；
     */
    @NotBlank(message = "请选择操作状态")
    private DpaProductStatusBatchUpdateV2OptStatus optStatus;

}
